package com.hdax.dm.rest;

import com.hdax.dm.common.config.api.SeatControllerApi;
import com.hdax.dm.common.config.api.SeatPriceControllerApi;
import com.hdax.dm.entity.scheduler.DmSchedulerSeat;
import com.hdax.dm.entity.scheduler.DmSchedulerSeatPrice;
import com.hdax.dm.service.PriceService;
import com.hdax.dm.service.SeatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SeatPriceRestService implements SeatPriceControllerApi {


    @Autowired
    private PriceService priceService;

    @Override
    public DmSchedulerSeatPrice price(Long scheduleId, Long areaLevel) {
        return priceService.price(scheduleId, areaLevel);
    }
}

